//
//  URLs.h
//  SuiRan
//
//  Created by lanou3g on 15-4-27.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#ifndef SuiRan_URLs_h
#define SuiRan_URLs_h


// 电台主页面接口网址
#define kRadioMainList @"http://api2.pianke.me/ting/radio"

#define kRadioMainListRefresh @"http://api2.pianke.me/ting/radio_list?"

// 电台详情页面接口网址（未刷新）
#define kRadioDetail @"http://api2.pianke.me/ting/radio_detail?"
// 电台详情页面接口网址（刷新）
#define kRadioDetailRefresh @"http://api2.pianke.me/ting/radio_detail_list?"

// 电台详情内容页面
#define kRadioDetailList @"http://api2.pianke.me/ting/info?"




// 社区内容页面
#define kGroupList @"http://api2.pianke.me/group/posts_hotlist"

#define GroupList_Hot(start) [NSString stringWithFormat:@"sort=hot&start=%f&client=2&limit=10", start]

#define GroupList_New(start) [NSString stringWithFormat:@"sort=addtime&start=%f&client=2&limit=10", start]

#define kGroupDetail @"http://api2.pianke.me/group/posts_info"
#define kDetail(contentid) [NSString stringWithFormat:@"contentid=%@&client=2", contentid]

#define kGroupComment @"http://api2.pianke.me/group/posts_comment"
#define GroupAddComment(start, contentid) [NSString stringWithFormat:@"client=1&sort=asc&deviceid=BEDF13D6-A735-4416-9F92-D76D6EC4D6B2&start=%f&limit=10&version=3.0.1&contentid=%@&auth=""", start, contentid]

#endif
